<!--{template header}-->
<link href="/template/default/release.css" rel="stylesheet" type="text/css"/>
<script language="javascript" type="text/javascript" src="source/release.js"></script>
<input type="hidden" name="tid" id="tid" value="$ctype['tid']" />
<div class="float_left">
	<div class="activity">
		<div class="act_top"><span>免费拿奖从这里开始</span><input type="text" readonly="readonly" class="act_text" value="【创意约会】$ctype['a_topic'] 活动链接：<!--{eval echo $_SC['siteurl'].$_SERVER['REQUEST_URI'];}-->" /><input type="button" class="submit" value="复制地址邀请好友参加" onclick="return false;" /></div>
		<div class="act_share">
		<label>分享到:</label>
		<!-- Baidu Button BEGIN -->
			<div id="bdshare" class="bdshare_t bds_tools get-codes-bdshare">
				<a class="bds_qzone"></a>
				<a class="bds_tsina"></a>
				<a class="bds_tqq"></a>
				<a class="bds_renren"></a>
				<a class="bds_kaixin001"></a>
				<a class="bds_t163"></a>
				<a class="bds_msn"></a>
				<a class="bds_ifeng"></a>
				<a class="bds_ty"></a>
				<a class="bds_mogujie"></a>
				<a class="bds_meilishuo"></a>
				<a class="bds_leho"></a>
				<a class="bds_diandian"></a>
				<a class="bds_qy"></a>
				<a class="bds_fx"></a>
				<a class="bds_qq"></a>
				<span class="bds_more">更多</span>
				<a class="shareCount"></a>
			</div>
		<script type="text/javascript" id="bdshare_js" data="type=tools&amp;mini=1" ></script>
		<script type="text/javascript" id="bdshell_js"></script>
		<script type="text/javascript">
			document.getElementById("bdshell_js").src = "http://share.baidu.com/static/js/shell_v2.js?cdnversion=" + new Date().getHours();
		</script>
		<!-- Baidu Button END -->
		</div>
		<div class="act_title">
		<p>【创意约会】$ctype['a_topic']</p>
		</div>
		<div class="act_info">
			<div class="left">
				<span id="lastTime"><img class="time" src="/template/default/images/time.gif"/><!--{eval echo lasttime($ctype['endtime']);}--></span>
				<span>截止：<!--{eval echo newDate($ctype['endtime']);}--></span>
				<span>类型：不限(抽奖/活动)</span>
				<p><font>$ctype['a_participates']</font>人参加（<font>$ctype['views']</font>人浏览）</p>
				<p class="his">
					<!--{loop $participate $key $val}-->
					<!--{eval if($key > 7)break;}-->
					<!--{eval $uname = $val['cname'] ? $val['cname'] : $val['username'];}-->
					<a href="/space.php?uid=$val['uid']" title="<!--{$uname}-->" alt="<!--{$uname}-->"><!--{eval echo avatar($val['uid'],'small',false);}--></a>
					<!--{/loop}-->
				</p>
			</div>
			<div class="border_right"></div>
			<div class="right">
				<img src="<!--{eval echo $_SC['attachdir'].$ctype['pic']}-->" />
			</div>
			<div class="bg_title">
				<input type="button" class="canjia" value=""/>
			</div>
			<div style="clear:left;"></div>
			<div class="border_bottom"></div>
		</div>
	</div>
	<div class="act_desc" id="act_desc">
		<div class="act_menu">
			<ul>
				<li><label flg="basic" class="on">活动详情</label></li>
				<li><label>秀秀说说</label></li>
				<li><label flg="prize">奖品详情</label></li>
				<li><label flg="contribute">活动稿件</label></li>
			</ul>
			<div style="clear:left;"></div>
		</div>
		<div class="act_content">
			
		</div>
	</div>
</div>

<div class="float_left">
	<div class="top10">
		<h3 class="h3">活动推广排行</h3>
		<ul>
		<!--{loop $spread $key $val}-->
			<!--{eval $key += 1;}-->
			<!--{eval ($key == 1 && $class = 'class="one"') || ($key == 2 && $class = 'class="two"') || ($key == 3 && $class='class="three"') || $class = ''}-->
			<!--{eval $uname = $val['cname'] ? $val['cname'] : $val['username'];}-->
			<li><span <!--{$class}-->>$key</span><label><!--{eval echo mb_substr($uname,0,12,'utf8');}--></label><label class="num">$val['s_count']</label></li>
		<!--{/loop}-->
		</ul>
	</div>
	<div class="contact_div">
		<h3 class="h3">联系方式</h3>
		<img class="contact_img" src="/template/default/images/contact.gif" />
		<img src="/template/default/images/contact_ico.gif" class="contact_ico" />
		<p class="a_tel">400-0808-183</p>
		<p class="a_msg">客服热线：09：00-21：00</p>
	</div>
	<div class="act_invite">
		<h3 class="h3">邀请好友参加</h3>
		<textarea class="invite_area">【创意约会】$ctype['a_topic'] 活动链接：<!--{eval echo $_SC['siteurl'].$_SERVER['REQUEST_URI'];}--></textarea>
		<input type="button" class="invite_button" value="复制文字"/>
	</div>
	<div class="act_pelpoe">
		<h3 class="h3">参与活动的人</h3>
		<ul>
		<!--{loop $participate $val}-->
			<li>
				<div>
					<!--{eval echo avatar($val['uid'],'small',false);}-->
				</div>
				<!--{eval $uname = $val['cname'] ? $val['cname'] : $val['username'];}-->
				<p class="name"><a title="<!--{$uname}-->" alt="<!--{$uname}-->" href="/space.php?uid=$val['uid']" target="_blank"><!--{eval echo mb_substr($uname,0,5,'utf8');}--></a></p>
				<p class="add"><a class="add" onclick="ajaxmenu(event, this.id, 1)" id="a_friend_li$val['uid']" href="cp.php?ac=friend&op=add&uid=$val['uid']">+加为好友</a></p>
			</li>
		<!--{/loop}-->
		</ul>
	</div>
	</div>
	<!--{if time() - $ctype['endtime'] < 0}-->
	<script type="text/javascript">
		var lasttime = <!--{eval echo $ctype['endtime'] - time()}-->;
		var difTime;
		var timeHtml = '';
		var key;
		var units = new Array('天','小时','分','秒');
		var areas = new Array(60*60*24,60*60,60,1);
		setInterval('time()',1000);
		function time(){
			lasttime = lasttime - 1;
			difTime = lasttime;
			timeHtml = '<img class="time" src="/template/default/images/time.gif"/>';
			//解析可视化数据
			for(key in units){
				timeHtml += '<font>'+parseInt(difTime / areas[key])+'</font>'+units[key];
				difTime = difTime - parseInt(difTime / areas[key]) * areas[key];
			}
			jQuery('#lastTime').html(timeHtml);
		}
	</script>
	<!--{/if}-->
<!--{template footer}-->